package com.leave.mos.service.find;

import com.leave.mos.entity.Order;
import com.leave.mos.entity.User;

import java.util.List;

public interface MongodbSelectService {

    List<User> findClass(User user);

    List<User> findTable(User user);

    List<Order> findAll();

    List<Order> findAllTable();

    List<Order> findAllAndRemove();

    Order findAndModify();

    List<Order> findDistinct();

    Order findAndRemove();

    String findAndReplace();

    Order findOne();

    Order findById(String id);
}
